public class phone {
public void aVoid(Voltage5v voltage5v){
    if(voltage5v.output5()==5){
        System.out.println("充电成功");
    }else{
        System.out.println("充电失败");
    }
}
}
